From c58ed480e5adff8b7fecf6cf5133213bd266fea2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Wed, 26 Mar 2014 06:54:52 +0000 Subject: [PATCH] W32: Make combobox-entry thinner by removing unneeded padding https://bugzilla.gnome.org/show_bug.cgi?id=727075 --- gtk/resources/theme/gtk-win32-base.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css index 6d7d400cbd..dea84db611 100644 --- a/gtk/resources/theme/gtk-win32-base.css +++ b/gtk/resources/theme/gtk-win32-base.css @@ -720,6 +720,13 @@ GtkComboBox.combobox-entry .button { border-width: 0; background-image: -gtk-win32-theme-part(combobox, 1 1); color: rgba(0, 0, 0, 0); +/* Remove padding from combobox button (GtkArrow inside of it is hardcoded to be + 16x16, but we draw even smaller arrow instead, so padding is completely unnecessary, + it only makes the button bigger for not good reason). + Only do this for combobox-entry, because non-entry combobox IS the button, + and it does need to be as thick as the items of the list it pops up (and it's + still slimmer than padded combobox-entry!). */ + padding: 0px; } GtkComboBox.combobox-entry .button:prelight, -- 2.30.2